// 景点相关的数据模型
const mongoose = require("mongoose");
const baseModel = require("./base");
// 创建数据模型
const commentSchema = new mongoose.Schema({
  ...baseModel,
  buyTime:{type: String},
  count:{type: Number},
  date:{type: String},
  funId:{type: String},
  hotelId:{type: String},
  funName:{type: String},
  hotelName:{type: String},
  pic:{type: String},
  price:{type: String},
  userId: {type: String},
  type: {type: String},
  roomInfo: {type: String},
});

module.exports = commentSchema;
